<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
    var username = localStorage['username'];
    $(".user").children("span").text(username + ",欢迎");
</script>

<div class="fill">
    <!-- 注销 -->
    <div class="logout">
        <i class="iconfont icon-logout"></i>
    </div>
    <!--用户信息 -->
    <div class="user">
        <div class="headImg">
            <img src="../static/img/default.jpg"/>
        </div>
        <i class="iconfont icon-jiantouxia" id="downBtn"></i>
        <span></span>
    </div>
    <!--下拉菜单 -->
    <div id="downMenu" class="downMenu">
        <div class="downSubMenu" id="editSelf">
            <i class="iconfont icon-user "></i>
            <span>个人资料</span>
        </div>
        <div class="downSubMenu" id="changePassword">
            <i class="iconfont icon-password"></i>
            <span>修改密码</span>
        </div>
        <div class="downSubMenu" id="edit">
            <i class="iconfont icon-bianji"></i>
            <span>设置</span>
        </div>
    </div>
    <%--<!--提醒 -->--%>
    <%--<div class="remind">--%>
        <%--<i class="iconfont icon-remind"></i>--%>
        <%--<span>提醒</span>--%>
        <%--<p class="num">1</p>--%>
    <%--</div>--%>

    <%--<!-- 消息 -->--%>
    <%--<div class="message">--%>
        <%--<i class="iconfont icon-cc-message"></i>--%>
        <%--<span>消息</span>--%>
        <%--<p class="num">3</p>--%>
    <%--</div>--%>

    <!-- logo -->
    <%--<div id="btn" class="getmessage">get message</div>--%>
    <div class="titleImg"><img src="../static/img/title.jpg"/></div>
</div>

<script type="text/javascript" src="/static/js/top.js"></script>
<script type="text/javascript">
    $(".remind").click(function () {
        message("系统异常", "请重新尝试", "error", 500);
    });
    $("#edit").click(function () {
        dialog_show();
    });

</script>
